package com.dykj.dao;

import com.dykj.entity.Salesorderinfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface SalesorderinfoMapper {
    int insert(List<Salesorderinfo> list);

    int insertSelective(Salesorderinfo record);




 /*   List<Map<String,Object>> selectTypeHY(String bTime, String eTime);

    List<Map<String,Object>> analyseDD(String bTime, String eTime);

    List<Map<String, Object>> sumKHanalyse(@Param("mapmap") Map<String, Object> mapmap);

    List<Map<String, Object>> yfAnalysisKH(@Param("mapmap") Map<String, Object> mapmap);

    List<Map<String, Object>> doProductAnalysis(@Param("bTime") String bTime, @Param("eTime") String eTime, @Param("ids") String[] ids);

    List<Map<String,Object>> sumAreaSale(String bTime, String eTime);

    List<Map<String,Object>> productSalesOccupation(@Param("bTime") String bTime, @Param("eTime") String eTime, @Param("ids") String[] ids);

    List<Map<String,Object>> productName(String bTime, String eTime);

    List<Map<String,Object>> saleDeptPart(String bTime, String eTime);

    List<Map<String,Object>> areaAnalysis(String bTime, String eTime);

    List<Map<String,Object>> allProduct();

    List<Map<String,Object>> top10FFullNameByCount(@Param("bTime") String bTime, @Param("eTime") String eTime);

    List<Map<String,Object>> top10SelectByNameByCount(@Param("bTime") String bTime, @Param("eTime") String eTime, @Param("name") String name);

    List<Map<String,Object>>  top10FFullNameByAmount(@Param("bTime") String bTime, @Param("eTime") String eTime);

    List<Map<String,Object>>  top10SelectByNameByAmount(@Param("bTime") String bTime, @Param("eTime") String eTime, @Param("name") String name);

    List<Map<String,Object>> annualSales();

    List<Map<String,Object>> hotSale10byYear(@Param("year1") String year1);

    List<Map<String,Object>> salesTrend(@Param("id1") String id1);

    List<Map<String,Object>> gPartSale(String bTime, String eTime);*/
}